<?php
/**
 * 自定义路由
 * Created by PhpStorm.
 * User: lockie
 * Date: 2018/12/26
 * Time: 14:50
 */
use think\Route;
//示例地址：
Route::rule('qorder/:appid/:order','alipay/Pay/proving');
Route::rule("img","index/Index/img");
Route::rule("video","index/Index/video");
Route::rule("file","index/Index/file");

//防盗链
Route::rule("pimage/:uuid/:yuan","index/lockie/img_path");
Route::rule("pimage/:uuid","index/lockie/img_path");
Route::rule("pvideo/:uuid","index/lockie/video_path");
Route::rule("pfile/:uuid","index/lockie/file_path");

//上传地址
Route::rule("up/img","index/Upfile/upimg");
Route::rule("up/base64img","index/Upbase64/upimg");
Route::rule("up/video","index/Upfile/upvideo");
Route::rule("up/file","index/Upfile/upfile");
